翻訳と辞書
Words near each other
・ Nearchus of Elea
・ Nearchus of Orchomenus
・ Nearco
・ Nearctic (horse)
・ Nearctic ecozone
・ Nearctic Stakes
・ Neardonaea
・ Nearer My God to Thee (album)
・ Nearer My God to Thee (disambiguation)
・ Nearer My God to Thee (film)
・ Nearer the Moon
・ Nearer, My God, to Thee
・ Nearest and Dearest
・ Nearest and Dearest (film)
・ Nearest centroid classifier
Nearest integer function
・ Nearest neighbor
・ Nearest neighbor graph
・ Nearest neighbor search
・ Nearest neighbor value interpolation
・ Nearest neighbour algorithm
・ Nearest neighbour classifiers
・ Nearest neighbour distribution
・ Nearest referent
・ Nearest relative
・ Nearest-neighbor chain algorithm
・ Nearest-neighbor interpolation
・ NEARfest
・ NearGlobal
・ Neargyractis


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Nearest integer function : ウィキペディア英語版
Nearest integer function

In computer science, the nearest integer function of real number ''x'' denoted variously by (), \lfloor x \rceil, \Vert x \Vert, nint(''x''), or Round(''x''), is a function which returns the nearest integer to ''x''. To avoid ambiguity when operating on half-integers, a rounding rule must be chosen. On most computer implementations, the selected rule is to round half-integers to the nearest even integer—for example,
:() = 1
:() = 2
:() = 2
:() = 2
:() = 2
:() = 3
:() = 3
:() = 4
:() = 4
:() = 4
:etc.
This is in accordance with the IEEE 754 standards and helps reduce bias in the result.
There are many other possible rules for tie breaking when rounding a half integer include rounding up, rounding down, rounding to or away from zero, or random rounding up or down.
==See also==

*Floor and ceiling functions

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Nearest integer function」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.